package com.example.demo.service;

import com.example.demo.mapper.UserInfoMapper;
import com.example.demo.model.BookInfo;
import com.example.demo.model.UserInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserInfoService {

    @Autowired
    private UserInfoMapper userInfoMapper;

    public UserInfo queryUserInfoByName(String name) {
       return userInfoMapper.queryUserInfoByName(name);
    }


}
